﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Web.Support;
using Web.Library.Facade.SQLServer;
using Web.Library.DomainObject.SQLServer;
using System.Configuration;

public partial class Account : BasePage
{
    private SysUserFacade facade = new SysUserFacade(ConfigurationManager.ConnectionStrings["ApplicationServices"].ConnectionString);

    protected void Page_Load(object sender, EventArgs e)
    {
        if (!IsPostBack)
        {
            SysUser obj = facade.GetById(base.UserID);
            txtFullname.Value = obj.Name;
            Fullname.Text = obj.Name;
            EmailAddress.Text = obj.UserCode;
        }
    }
}